Set a user agent with the version when talking to the registry
authorSteven Fackler <sfackler@gmail.com>
Mon, 2 Jan 2017 03:35:30 +0000 (19:35 -0800)
committerSteven Fackler <sfackler@gmail.com>
Mon, 2 Jan 2017 03:35:30 +0000 (19:35 -0800)
commitae2b5980e09acae5b4856143ed2a47ed4ffdc613
treee46a785628fee4e98caede657beb43d95f13ecc2
parentc95b873605440ee0de6a1e3350f879685eac42c6
Set a user agent with the version when talking to the registry

This can be used to track what versions of Cargo are being used in the
wild, which can be very useful.
src/cargo/ops/registry.rs